public class Main {
    public static void main(String[] args) {
        double[] scores = new double[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
        double startScore = 0; // 不知道有什么用
        double scale = 100; //假设100
        Curve curve = new Curve(startScore, scale);
        for (int i = 0; i < scores.length; i++) {
            Student student = new Student("student_" + i, scores[i]);
            curve.addStudent(student);
        }
        curve.initialize();
        System.out.println("Average: " + curve.Average());
        System.out.println("Stdev: " + curve.standard());

        curve.zCurve();
        System.out.println("Z-score:");
        for (Student student : curve.getStudentList()) {
            System.out.println(curve.checkStudent(student.getName()));
        }

        curve.bndsCurve();
        System.out.println("bndscurved:");
        for (Student student : curve.getStudentList()) {
            System.out.println(curve.checkStudent(student.getName()));
        }
    }

}
